Skip to content

more info in shell scripts.#27

Open
TheRealYasri wants to merge 1 commit into
pkgforge-dev:mainfrom
TheRealYasri:main
Open

more info in shell scripts.#27
TheRealYasri wants to merge 1 commit into
pkgforge-dev:mainfrom
TheRealYasri:main

Conversation

@TheRealYasri
Copy link
Copy Markdown

Added more information on...

  1. valid export commands
  2. get-debloated-pkgs options
  3. example of source compile with app version setting.

Might have stopped me from fumbling around so much.

Comment thread get-dependencies.sh Outdated
Comment thread make-appimage.sh Outdated
VERSION=$(pacman -Q PACKAGENAME | awk '{print $2; exit}') # example command to get version of application here
export ARCH VERSION
export ARCH
# Used by sharun to set x86_64 or aarch64 in appimage name
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really need to specify this lol

I don't think anything regarding ARCH and VERSION needs to be changed here btw

Comment thread make-appimage.sh Outdated
Comment thread make-appimage.sh Outdated
Comment thread make-appimage.sh Outdated
Comment thread make-appimage.sh Outdated
Comment thread make-appimage.sh Outdated
@Samueru-sama Samueru-sama requested a review from fiftydinar May 17, 2026 23:22
@fiftydinar
Copy link
Copy Markdown
Contributor

I think we should put the link to the docs as a comment and only add small comments here when needed.

To me, this looks cluttered.

@TheRealYasri
Copy link
Copy Markdown
Author

yeah I came to the same idea its to cluttered when I I was overthinking stuff trying to go to sleep(brain needs to shut up when I need sleep), got a different idea, ill post in a bit.

To help new people find documentation.
@TheRealYasri
Copy link
Copy Markdown
Author

Ok nuked my old submission with a new way. I made a documentation folder and put all my stuff in there. As people build things they can add examples. Anything that you think people will be like how do i do this, let me go search for 30 minutes to find a answer.

Also there is documentation? Been winging it....

@fiftydinar
Copy link
Copy Markdown
Contributor

Ok nuked my old submission with a new way. I made a documentation folder and put all my stuff in there. As people build things they can add examples. Anything that you think people will be like how do i do this, let me go search for 30 minutes to find a answer.

Looks better than before, will check in more detail sometime later

Also there is documentation? Been winging it....

It's this link:
https://pkgforge-dev.github.io/Anylinux-AppImages/HOW-TO-MAKE-THESE.html

Comment on lines +22 to +49
--ffmpeg-mini
which removes 20 MiB libx265.so dependency, also removes AV1 enconding support (decoding still works).

--gdk-pixbuf2-mini, --librsvg-mini
These remove the glycin dependency, ~20 MiB of bloat. (glycin is also super buggy and depends on bwrap which is problematic for running appimages in very old kernels)

--gtk3-mini
??

--gtk4-mini
??

--icu-mini
Much smaller version of libicudata.so that is less than 3 MIB in size (10x reduction in size).

--intel-media-driver-mini
?

--kiconthemes-mini
?

--llvm-libs-mini
smaller version of libLLVM.so which is a 150+ MiB library, this version is reduced down to 99 MiB.

--llvm-libs-nano
similar to mini, but with the llvm targets limited (x86_64 or aarch64) + AMDGPU, this reduces the size of the library to less than 70 MiB. Note this will cause issues if application depends on more llvm targets like compilers.

--mangohud-mini
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are not flags.

Copy link
Copy Markdown
Author

@TheRealYasri TheRealYasri May 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah ok I think I might have it. common adds mesa which adds opengl/vulkan.

--add-common 
    icu-mini
    opus-mini
    libxml2-mini
    qt6-base-mini
    gtk3-mini
    gtk4-mini
    gdk-pixbuf2-mini
    librsvg-mini  
    --add-mesa 
        --add-opengl   
            mesa-*
        --add-vulkan  
            vulkan-freedreno-*
            vulkan-broadcom-*
            vulkan-asahi-*
            vulkan-powervr-* 
            vulkan-radeon-*
            vulkan-nouveau-*
            vulkan-virtio-*

ones with stars have nano versions

Only real extra ones to worry about are these below but had to jump thru hoops to find a list.
"name": "ffmpeg-mini-aarch64.pkg.tar.xz",
"name": "ffmpeg-mini-x86_64.pkg.tar.zst",
"name": "intel-media-driver-mini-x86_64.pkg.tar.zst",
"name": "intel-media-mini-x86_64.pkg.tar.zst",
"name": "kiconthemes-mini-aarch64.pkg.tar.xz",
"name": "kiconthemes-mini-x86_64.pkg.tar.zst",
"name": "libxml2-iculess-aarch64.pkg.tar.xz",
"name": "libxml2-iculess-x86_64.pkg.tar.zst",
"name": "llvm-libs-mini-aarch64.pkg.tar.xz",
"name": "llvm-libs-mini-x86_64.pkg.tar.zst",
"name": "llvm-libs-nano-aarch64.pkg.tar.xz",
"name": "llvm-libs-nano-x86_64.pkg.tar.zst",
"name": "mangohud-mini-aarch64.pkg.tar.xz",
"name": "mangohud-mini-x86_64.pkg.tar.zst",
"name": "mesa-zink-mini-aarch64.pkg.tar.xz",
"name": "mesa-zink-mini-x86_64.pkg.tar.zst",
"name": "qt6-base-iculess-aarch64.pkg.tar.xz",
"name": "qt6-base-iculess-x86_64.pkg.tar.zst",
"name": "vulkan-intel-mini-x86_64.pkg.tar.zst",
"name": "vulkan-intel-nano-x86_64.pkg.tar.zst",
"name": "vulkan-panfrost-mini-aarch64.pkg.tar.xz",
"name": "vulkan-panfrost-nano-aarch64.pkg.tar.xz",
"name": "x265-mini-aarch64.pkg.tar.xz",
"name": "x265-mini-x86_64.pkg.tar.zst",


Below was my line of thought I was working thru, before I found
https://api.github.com/repos/pkgforge-dev/archlinux-pkgs-debloated/releases/latest

See I thought they were because of the documentation,  would have had to read into the code itself to know.

https://pkgforge-dev.github.io/Anylinux-AppImages/HOW-TO-MAKE-THESE.html#step-by-step-example
Shows this ....

# Some apps might require these as well
./get-debloated-pkgs.sh --add-common --prefer-nano **ffmpeg-mini** intel-media-driver-mini

https://github.com/pkgforge-dev/archlinux-pkgs-debloated
Has ffmpeg-mini listed with others, why I thought they were valid.

---

Unless I am missing something --add-common ends up using everything, so its more of a on/off switch, only --prefer nano really seems to modify the command.

common adds mesa which adds opengl/vulkan.

---

also ffmpeg-mini does not seem to be hooked up anywhere in the 

Comment thread Documentation/debloated_packages.txt
@Samueru-sama
Copy link
Copy Markdown
Member

I really don't see this PR going anywhere tbh.

I liked the original idea of adding more comments to the scripts, like explaining what --add-common and --prefer-nano do, but there were way too many comments,

@TheRealYasri
Copy link
Copy Markdown
Author

TheRealYasri commented May 20, 2026

I really don't see this PR going anywhere tbh.

I liked the original idea of adding more comments to the scripts, like explaining what --add-common and --prefer-nano do, but there were way too many comments,

Changed it so its all sort into its own folder, with information and code examples. Its meant so if someone copies the template and is working locally they have it all in one place instead of spread around in tons of places online.

Probably could include all/almost all of...
https://pkgforge-dev.github.io/Anylinux-AppImages/HOW-TO-MAKE-THESE.html

Sense this is new to me, I still trying to figure out how things connect together, and I am trying to document my learning for anyone else who tries later.

Need to update the pages with new info I figured out in the thread above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants